package com.zyh.preview.bean;

import java.util.Scanner;

public class TestCircle {
    public static void main(String[] args) {
        Circle circle = new Circle();
        System.out.println("请输入一个半径：");
        circle.r = new Scanner(System.in).nextDouble();
        circle.showArea();
        circle.showPerimeter();
    }
}
